from django.urls import path
from BloodSpiderAPI.apis.category import request

# api/category/
urlpatterns = [
    path('create/', request.create_category, name='create_category'),
    path('list/', request.get_category_list, name='get_category_list'),
    path('detail/<str:cid>/', request.get_category_detail, name='get_category_detail'),
    path('update/<str:cid>/', request.update_category, name='update_category'),
    path('delete/<str:cid>/', request.delete_category, name='delete_category'),
]